package com.example.app.invoketask.async;

import com.example.app.invoketask.AbstractTask;
import org.springframework.scheduling.annotation.Async;
import org.springframework.stereotype.Component;

/**
 * @author wangzhuangzhuang
 * @DESC:
 * @date 2022-02-10 13:31
 */
@Component
public class AsyncTask extends AbstractTask {
	@Async
	public void doTaskOne() throws Exception {
		super.doTaskOne();
	}

	@Async
	public void doTaskTwo() throws Exception {
		super.doTaskTwo();
	}

	@Async
	public void doTaskThree() throws Exception{
		super.doTaskThree();
	}
}